<?php


namespace app\api\model\user;

use think\Model;
use think\Db;
class Goodsmodel  extends Model{
    /**
     * 发布需求
     */
    public function sendGoodsNeed($data){
        $res = db('goods_need')->insert($data);
        if($res){
            return true;
        }else{
            return false;
        }
    }

}